package com.example.day13;

import com.example.day12.Outer;

/**
 * @author Lenovo
 */
public class IntegerDemo {
    public static void main(String[] args) {
        Integer i1 = new Integer(100);
        System.out.println(i1);
        Integer i2 = new Integer("100");
        System.out.println(i2);
        System.out.println("-------");
        Integer i3 = Integer.valueOf(100);
        System.out.println(i3);
        Integer i4 = Integer.valueOf("100");
        System.out.println(i4);
    }
}
